package com.jhh.pay.center.cfg.tablesplit;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/5
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
public @interface TableSplit {
    //是否分表
    boolean split() default true;

    String value() default "";

    String field() default "";

    //获取分表策略
    String strategy();

}